package pojo;

/**
 * @author konley
 * @date 2020-06-09 11:54
 * 管理员类：存放管理员信息
 */
public class Manager {
    private int mid;    //工号
    private String name;    //姓名
    private String password;    //密码

    //全参构造方法
    public Manager(int mid, String name, String password) {
        this.mid = mid;
        this.name = name;
        this.password = password;
    }

    //无参构造方法
    public Manager() {
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "mid=" + mid +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
